<?php
// +----------------------------------------------------------------------
// | 海豚PHP框架 [ DolphinPHP ]
// +----------------------------------------------------------------------
// | 版权所有 2016~2017 河源市卓锐科技有限公司 [ http://www.zrthink.com ]
// +----------------------------------------------------------------------
// | 官方网站: http://dolphinphp.com
// +----------------------------------------------------------------------
// | 开源协议 ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------

namespace app\member\model;

use think\Model;


class MemberStatus extends Model
{

   public static function getStatusAttr($value){
       $status = [0=>'待审核',1=>'已审核'];
       return $status[$value];
   }
    public static function getStatusMember(){
        $status = [0=>'待审核',1=>'已审核'];
        return $status;
    }
    public static function getIsEnable(){
        $isenable = [0=>'禁用',1=>'启用'];
        return $isenable;
    }
    public static function getMemberIsEnable($value){
        $status = [0=>'禁用',1=>'启用'];
        return $status[$value];
    }
    public static function getIdType(){
        $idtype = [0=>'身份证',1=>'护照'];
        return $idtype;
    }
    public static function getPaper($value){
        $status = [0=>'身份证',1=>'护照'];
        return $status[$value];
    }
    public static function getSex(){
        $sex = [0=>'男',1=>'女'];
        return $sex;
    }
    public static function getMemberSex($value){
        $sex = [0=>'男',1=>'女'];
        return $sex[$value];
    }
    public static function getMemberType(){
        $type = [0=>'单选',1=>'复选',2=>'文本',3=>'下拉',4=>'图片'];
        return $type;
    }
    public static function getDepot(){
        $depot=[0=>'无',1=>'有'];
        return $depot;
    }
    public static function getMemberDepot($value){
        $depot=[0=>'无',1=>'有'];
        return $depot[$value];
    }
    public static function getIsDefault(){
        $type = [0=>'否',1=>'是'];
        return $type;
    }
    public static function isShow(){
        $type = [0=>'不展示',1=>'展示'];
        return $type;
    }
}